package cn.pomelo.secondskill.service;

import cn.pomelo.secondskill.model.Address;

import java.util.List;

public interface AddressService{


    int deleteByPrimaryKey(Integer id);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    List<Address> findByUserid(Integer userid);

    void updateDefaultAdd();

    Address findDefaultAddByUserid(Integer userid);

}
